package cn.bandeqing.product.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(defaultValue = "产品列表")
public class ProductListResp implements Serializable {

    @Schema(defaultValue = "产品ID")
    private Long productId;

    @Schema(defaultValue = "产品编码")
    private String productUuid;

    @Schema(defaultValue = "产品名称")
    private String productName;

    /**
     * 0=注册 1=上架 2=下架
     */
//    private Integer productStatus;

    /**
     * 产品类别ID
     */
    @Schema(defaultValue = "类别ID")
    private Integer productTypeId;

//    @Schema(defaultValue = "是否主显")
//    private Boolean productMain;

    // 所有规格中的最低价
    @Schema(defaultValue = "这个产品不同规格的最低价")
    private Double lowPrice;

    @Schema(defaultValue = "子标题")
    private String subTitle;

    @Schema(defaultValue = "产品封面图")
    private String productMainImg;

}
